# -*- coding: utf-8 -*-

class AppConfig():
	AppName = "ETWebTools"
	Host = "192.168.1.100"
	Port = 5100
	
class LoggerConfig():
	LoggerName = 'logger.kernel'
	LogFileLocation = '/home/zhangjie/logs/webtools/debug.log'
	LogFileGenerateMeasure = 'M' # S - second, M - minute, H - hour, D - day, W - week
	LogFileGenerateInterval = 1  # every one measure
	LogFileBackupCount = 60      # save recent 60 copies
	LogOutputFormater = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'

class DBConfig():
	MysqlHost = 'etlinkingdb.mysql.rds.aliyuncs.com'
	MysqlUser = 'et_dba'
	MysqlPwd = '1tLiNk1nG_1tG0'
	MysqlDBName = 'et_device_init'
	SleepSecond = 3

class RedisConfig():
	RedisHost = '42.121.54.224'#192.168.1.101'
	RedisPort = 6379
	RedisDB = 3
